<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:s="http://jboss.com/products/seam/taglib"
        xmlns:rich="http://richfaces.org/rich"
        xmlns:a4j="http://richfaces.org/a4j">
  
 			
				<h:panelGrid columns="5" >
				<h:outputText value="#{messages['py.org.atom.toolbar.Sorted']}" rendered="#{not empty p_admin.queryOrder}"/>
				<ui:repeat var="s" value="#{p_admin.queryOrder}">
					#{s.label} (#{s.direction}) #{' '} 
				</ui:repeat>
				<a4j:commandLink value="#{messages['py.org.atom.toolbar.UnSort']}" rendered="#{not empty p_admin.queryOrder}" 
									action="#{p_admin.clearOrder}" reRender="detail"/>
				
				</h:panelGrid>
				  		
    										
</ui:composition>